package org.dromara.manu.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 物料特征值对象 manu_material_chara_record
 *
 * @author Bin Liu
 * @date 2024-11-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("manu_material_chara_record")
public class ManuMaterialCharaRecord extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 物料id
     */
    private Long materialId;

    /**
     * 特征模板id
     */
    private Long tempId;

    /**
     * 数字型结果
     */
    private Double dataFloat;

    /**
     * 附件型结果
     */
    private Long dataFile;

    /**
     * 布尔型结果
     */
    private Boolean dataBoolean;

    /**
     * 字符串型结果
     */
    private String dataString;

    /**
     * 删除标志
     */
    @TableLogic
    private Long delFlag;


}
